package com.csg.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;


import com.csg.entity.Game;





public interface GameMapper {
	//查询所有商品信息

		public List<Game> selectAllPalyBalls();
		//添加商品
		public boolean savePalyBall(Game game);
		//修改商品
		public boolean updatePalyBall(Game game);
		//删除商品
		public boolean deleteGoal(Integer id);
		public boolean deletePalyBall(Integer id);
		public boolean deleteScore(Integer id);
		//查询id
		public Game selectPalyBalls(Integer id);
		
		public List<Game> selectAllGoals();
		//添加商品
		public boolean saveGoal(Game game);
		//修改商品
		public boolean updateGoal(Game game);
		
		//查询id
		public Game selectGoals(Integer id);
		
		public List<Game> selectAllScores();
		//添加商品
		public boolean saveScore(Game game);
		//修改商品
		public boolean updateScore(Game game);
		
		//查询id
		public Game selectScores(Integer id);
		
		
		
		public List<Game> selectAllDoubleResults();
		//添加商品
		public boolean saveDoubleResult(Game game);
		//修改商品
		public boolean updateDoubleResult(Game game);
		//删除商品
		public boolean deleteDoubleResult(Integer id);
		//查询id
		public Game selectDoubleResults(Integer id);
		
		
		public List<Game> selectAllPasss();
		//添加商品
		public boolean savePass(Game game);
		//修改商品
		public boolean updatePass(Game game);
		//删除商品
		public boolean deletePass(Integer id);
		//查询id
		public Game selectPasss(Integer id);
		
		
		public List<Game> selectAllGames();
		public Game selectGames(Integer id);
		public boolean saveGame(Game game);
}
